For some reason, eslint trips up with non-exported classes with
a static initializer. Add the missing docs that somehow make it
happy.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4248>
(cherry picked from commit
2b9350ed8571c2dab1b5400a3e18d0b8b0b7f1a3)
// ['PickDebugFlag', { argPos: 2, exclude: [] }],
]);
+/** @returns {string[]} **/
function _getAutoCompleteGlobalKeywords() {
const keywords = ['true', 'false', 'null', 'new'];
// Don't add the private properties of globalThis (i.e., ones starting with '_')
}
});
+/** @param {Any} o **/
function objectToString(o) {
if (typeof o === typeof objectToString) {
// special case this since the default is way, way too verbose